package response

type BrandIndexResponse struct {
	Code int `json:"code"`
	Msg string `json:"msg"`
	Data []interface{} `json:"data"`
}

type RankIndexResponse struct {
	AppID           int64   `gorm:"column:app_id;type:int(100) unsigned;primaryKey;autoIncrement:true;comment:ID" json:"app_id"`
	AppName         *string `gorm:"column:app_name;type:varchar(255);comment:应用名称" json:"app_name"`
	AppPackage      *string `gorm:"column:app_package;type:varchar(100);comment:应用包名" json:"app_package"`
	AppVersionName  *string `gorm:"column:app_version_name;type:varchar(50);comment:版本名称" json:"app_version_name"`
	AppSize         *int64  `gorm:"column:app_size;type:int(100);comment:应用大小" json:"app_size"`
	AppDesc         *string `gorm:"column:app_desc;type:varchar(500);comment:应用描述" json:"app_desc"`
	AppURL          *string `gorm:"column:app_url;type:varchar(255);comment:应用文件" json:"app_url"`
	AppImg          *string `gorm:"column:app_img;type:varchar(255);comment:应用图标" json:"app_img"`
	AppPreview1     *string `gorm:"column:app_preview1;type:varchar(255);comment:预览图片1" json:"app_preview1"`
	AppPreview2     *string `gorm:"column:app_preview2;type:varchar(255);comment:预览图片2" json:"app_preview2"`
	AppPreview3     *string `gorm:"column:app_preview3;type:varchar(255);comment:预览图片3" json:"app_preview3"`
	AppDownloads    *int64  `gorm:"column:app_downloads;type:int(20);comment:下载次数" json:"app_downloads"`
	AppScore        *string `gorm:"column:app_score;type:varchar(5);comment:应用评分" json:"app_score"`
	AppCreatetime   *int64  `gorm:"column:app_createtime;type:int(12);comment:上传时间" json:"app_createtime"`
	AppTag          *int64  `gorm:"column:app_tag;type:int(1);default:1;comment:标签" json:"app_tag"`
	AppMd5          *string `gorm:"column:app_md5;type:varchar(255);comment:md5" json:"app_md5"`
}

type AppGroundIndexResponse struct {
	Package    string  `gorm:"column:package;type:varchar(255);not null;comment:包名" json:"packages"`
	Address    *string `gorm:"column:address;type:varchar(2100);comment:域名/网址" json:"address"`
	Type       *int64  `gorm:"column:type;type:tinyint(1);default:1;comment:1白名单 0黑名单" json:"type"`


}
